Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added async function chain #37

Merged
merged 2 commits into from
Dec 13, 2017
Merged

Added async function chain #37

merged 2 commits into from
Dec 13, 2017

Conversation

RobertAKARobin
Copy link
Contributor

I included a "long form" as well. I think providing an explanation in this way may be very helpful to beginners, for whom this is a great resource. GitHub's <details> functionality is a little-known secret.

```js
const chainAsync = fns => {
let curr = 0; const next = () => fns[curr++](next); next()
}

This comment was marked as spam.

This comment was marked as spam.

}
```

<details>

This comment was marked as spam.

This comment was marked as spam.

Robin Thomas and others added 2 commits December 12, 2017 10:46
Copy link
Owner

@Chalarangelo Chalarangelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing! Merging right away!

@Chalarangelo Chalarangelo merged commit 4e825f1 into Chalarangelo:master Dec 13, 2017
@lock
Copy link

lock bot commented Dec 18, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for any follow-up tasks.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants